package com.hermit.qmst.bean;


import com.hermit.qmst.tools.Utils;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2016/11/30 0030.
 */
public class BottleBean implements Serializable {
    private String _id;

    private String title;

    private String acctId;

    private String context;

    private List<String> pic ;

    private String video;

    private String type;

    private int readCount;

    private int goodCount;

    public String get_id() {
       return Utils.stampToDate(_id);
    }

    public void set_id(String _id) {
        this._id = _id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAcctId() {
        return acctId;
    }

    public void setAcctId(String acctId) {
        this.acctId = acctId;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public List<String> getPic() {
        return pic;
    }

    public void setPic(List<String> pic) {
        this.pic = pic;
    }

    public String getVideo() {
        return video;
    }

    public void setVideo(String video) {
        this.video = video;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getReadCount() {
        return readCount;
    }

    public void setReadCount(int readCount) {
        this.readCount = readCount;
    }

    public int getGoodCount() {
        return goodCount;
    }

    public void setGoodCount(int goodCount) {
        this.goodCount = goodCount;
    }

    @Override
    public String toString() {
        return "BottleBean{" +
                "_id='" + _id + '\'' +
                ", title='" + title + '\'' +
                ", acctId='" + acctId + '\'' +
                ", context='" + context + '\'' +
                ", pic=" + pic +
                ", video='" + video + '\'' +
                ", type='" + type + '\'' +
                ", readCount=" + readCount +
                ", goodCount=" + goodCount +
                '}';
    }

    private CreateDate createDate;

    public CreateDate getCreateDate() {
        return createDate;
    }

    public void setCreateDate(CreateDate createDate) {
        this.createDate = createDate;
    }
}
